/*
 *
 *      Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the pig4cloud.com developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: lengleng (wangiegie@gmail.com)
 *
 */

package com.pig4cloud.pig.base.service;

import com.pig4cloud.pig.base.api.dto.LogDto;
import com.pig4cloud.pig.base.api.dto.ServicesDto;
import com.pig4cloud.pig.base.api.vo.ClustersVO;
import com.pig4cloud.pig.base.api.vo.ConfigsVO;
import com.pig4cloud.pig.base.api.vo.ServiceVO;
import com.pig4cloud.pig.base.api.vo.ServicesVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sxg
 * @since 2017-11-20
 */
public interface BaseService {

	/***
	* @Description: 服务列表
	* @Param: []
	* @return: java.util.List<com.pig4cloud.pig.base.api.vo.ServicesVO>
	* @Author: marco
	* @Date: 2024/5/30
	*/
	// List<ServicesVO> services(Page page,ServicesDto servicesDto);
	Page services(Page page, ServiceVO serviceVO) throws IOException;

	/***
	* @return 
	 * @Description: 服务详情实例
	* @Param: []
	* @return: java.util.List<com.pig4cloud.pig.base.api.vo.ClustersVO>
	* @Author: marco
	* @Date: 2024/5/30
	*/
	List<ClustersVO> service(String name);
	/***
	* @Description: 配置列表
	* @Param: []
	* @return: java.util.List<com.pig4cloud.pig.base.api.vo.ServicesVO>
	* @Author: marco
	* @Date: 2024/5/30
	*/
	List<ConfigsVO> configs();
	
	
	
}
